package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {
    //1、sku基本信息获取 pms_sku_info
    SkuInfoEntity sku;

    boolean hasStock = true;

    //2、sku图片获取 pms_sku_image
    List<SkuImagesEntity> skuImages;

    //3、spu销售属性组合
    List<SkuInfoSaleAttrVo> saleAttrs;

    //4、获取spu介绍
    SpuInfoDescEntity spuInfoDesc;

    //5、获取spu规格参数信息
    List<SpuItemGroupAttrVo> spuItemGroupAttrList;

}
